#!/bin/bash

#进入睡眠，存入内存
#sudo systemctl suspend

#关闭屏幕，调用kde关闭屏幕功能
dbus-send --session --print-reply --dest=org.kde.kglobalaccel /component/org_kde_powerdevil org.kde.kglobalaccel.Component.invokeShortcut string:'Turn Off Screen'

